package com.example.common.vo.order;

import com.example.common.entity.order.OrderEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@Setter
@Getter
public class SubmitOrderRespVo {

    /** 订单信息 **/
    private OrderEntity order;
    /**
     * 0 成功
     * 其他，请查看：
     * BizCodeEnum#ORDER_TOKEN_INSPECT_ERROR
     * BizCodeEnum#ORDER_AMOUNT_INSPECT_ERROR
     * BizCodeEnum#ORDER_LOCK_STOCK_EXCEPTION
     **/
    private int code;

    private String message;

}
